package org.homeworkadmin.admin.service.impl;

import org.homeworkadmin.admin.domain.Video;
import org.homeworkadmin.admin.mapper.VideoMapper;
import org.homeworkadmin.admin.service.VideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VideoServiceImpl implements VideoService {
    @Autowired
    private VideoMapper videoMapper;

    @Override
    public int addVideo(Video video) {
        return videoMapper.addVideo(video);
    }
}
